package com.cqjtu.eecs.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 调用本地服务，注入到spring容器
 */
@Configuration
public class CloudConfig {
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
